<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>my css1</title>
    <style>
        .web {
            color: green;
            font-weight: bold;
        }
    </style>
</head>
<body>
<div>本章讲解<span class="web">网页制作</span>，什么是<span class="web">网页制作</span>呢？<span class="web">网页制作</span>就是做网页</div>
<hr style="color: red">
<div class="web">网页制作。这是一个div，它是块级元素</div>
</body>
</html>